State Diagram Of A Counter